package com.sc.nft.admin.request;

import com.sc.nft.entity.dto.EcologyPoolExcellentBrandBatchAllocatePointsDaoDTO;
import com.sc.nft.enums.EcologyPoolOperationTypeEnum;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.Valid;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.List;

/**
 * @author 刘国航
 * @since 2024/7/13
 */
@Data
public class EcologyPoolExcellentBrandBatchAllocatePointsRequest implements Serializable {

    @ApiModelProperty("操作类型")
    @NotNull(message = "操作类型不能为空")
    private EcologyPoolOperationTypeEnum operationType;

    @ApiModelProperty("备注")
    private String remark;

    @ApiModelProperty("品牌列表")
    @NotEmpty(message = "品牌列表不能为空")
    @Valid
    private List<EcologyPoolExcellentBrandBatchAllocatePointsDaoDTO> daoList;

}
